<?php

namespace Ignus\View;

interface NodeVisitorInterface
{
    /**
     * @param NodeInterface
     */
    function enterNode(NodeInterface $node, Environment $env);

    /**
     * @param NodeInterface
     */
    function leaveNode(NodeInterface $node, Environment $env);

    function getPriority();
}
